/**
 *  ############################
 *  #                          #
 *  #  JavaScript Programming  #
 *  #                          #
 *  #    (C) Adam Pócs 2010    #
 *  #                          #
 *  #   royaljerry@gmail.com   #
 *  #                          #
 *  ############################
*/
 
// Get current filler character
def cCurrent =                 args[0]
// Get current column number
println cCurrent
def result = '';

if (cCurrent.indexOf(/\n/))
{ 
	def list = cCurrent.split(/\n/);

	println list.length 
	list = list.collect{
        println it
        "" + it 
    }
	 
	result = list.join("");
}else{
	result = " "+cCurrent;
}
   
// Print filler string
println result
